<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>My JSP 'analyzedFrame.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
  <table cellspacing="0" cellpadding="0" border="0" width="100%" style="height:100% ">
                  <tbody><tr bgcolor="#D7F0F5">
                    <td height="60" align="left" valign="top"><table cellspacing="0" cellpadding="0" border="0" width="100%" style="background-image:url(images/rep_3.jpg) ">
                        <tbody><tr align="left" valign="top">
                          <td><div style="padding-left:19px; padding-top:11px">
                              <table cellspacing="0" cellpadding="0" border="0" width="100%">
                                <tbody><tr align="left" valign="middle">
                                  <td width="43"><img height="35" width="27" src="images/p_4.jpg" alt=""></td>
                                  <td><img height="9" width="120" src="images/welcome_4.jpg" alt=""></td>
                                </tr>
                              </tbody></table>
                          </div></td>
                          <td width="7"><img height="60" width="8" src="images/p_6.jpg" alt=""></td>
                        </tr>
                    </tbody></table></td>
                  </tr>
                  <tr>
                    <td bgcolor="#E8F6F9" align="left" valign="top" class="style2"><div style="padding-left:21px; padding-top:20px; line-height:16px; padding-bottom:0px; padding-right:10px" class="STYLE4"><img height="40" width="36" src="images/ab_3.jpg">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 已分析贷款</div>                      
                                            
                      <div style="padding-left:21px; padding-top:10px; padding-bottom:12px">
                        <table cellspacing="0" cellpadding="0" border="1" width="294">
                          <tbody>
                          <tr valign="middle" class="style2">
                            <td height="24" align="left" width="68"><div align="center">贷款编号</div></td>
                            <td height="24" align="left" width="64"><div align="center">申请时间</div></td>
                            <td align="left" width="78"><div align="center">金额</div></td>
                            <td align="left" width="74"><div align="center">风险评级 </div></td>
                          </tr>
                          
                          <s:iterator value="page1.list" id="page">
										<tr valign="middle" class="style2">
										<td height="24" align="center" width="80">
												<s:property value="#page.LoanId"/>
										</td>
										<td height="24" align="center" width="102">
												<s:property value="#page.amount"/>
										</td>
										<td align="center" width="102">
												<s:property value="#page.date"/>
										</td>
										<td>
											<s:property value="#page.riskRating.rating"/>
										</td>
									</tr>
									</s:iterator>
                          
                          <tr valign="middle" class="style2">
										<td colspan="4">
										共<s:property value="page1.allRow"/> 条记录
        共<s:property value="page1.totalPage"/> 页
        当前第<s:property value="page1.currentPage"/>页<br/>
        <s:if test="%{page1.currentPage == 1}">
            第一页 上一页
        </s:if>
        <s:else>
            <a href="unanalyzedLoan?currentPage=1">第一页</a>
            <a href="unanalyzedLoan?currentPage=<s:property value="%{page1.currentPage-1}"/>">上一页</a>
        </s:else>
        <s:if test="%{page1.currentPage lt page.totalPage}">
            <a href="unanalyzedLoan?currentPage=<s:property value="%{page1.currentPage+1}"/>">下一页</a>
            <a href="unanalyzedLoan?currentPage=<s:property value="page1.totalPage"/>">最后一页</a>
        </s:if>
        <s:else>
            下一页 最后一页
        </s:else>
										</td>
									</tr>
                        </tbody></table>
                      </div></td>
                  </tr>
                </tbody></table>
  </body>
</html>
